module.exports = {
  chainWebpack: (config) => {
    config.module
      .rule("vue")
      .use("./loaders/global-loader")
      .loader("./loaders/global-loader")
      .options({
        ylGlobalComponents: '<buoy :pageScroll="pageScroll" :isShow="isBuoyShow"></buoy>',
        todoTaskComponents: "<todoTask></todoTask>"
      })
      .end();
  }
};
